package com.hao.tool.extra.cloud.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.jx
 * @date 2020-07-25 10:32
 */
@Getter
@Setter
public class ResultException extends Exception {

    private Integer code;
    private String msg;

    public ResultException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
